package com.eddie.bridge;

/**
 * @author Eddie
 * @date 2022/07/29 12:13
 **/
public class Client {

    public static void main(String[] args) {
        //获取折叠式手机（折叠样式+品牌）
        Phone p1 = new FoldedPhone(new ViVo());
        p1.open();
        p1.call();
        p1.close();

        System.out.println("================================");

        Phone p2= new UpRightPhone(new XIaoMi());
        p2.open();
        p2.call();
        p2.close();
    }

}
